#include <kernel/kernel.h>
#include <kernel/version.h>
#include <kernel/multiboot.h>
#include <kernel/types.h>
#include <kernel/screen.h>

/* to be replaced by kpanic! */
#define halt() __asm__ volatile ("1: jmp 1b")

int kmain(uint32_t mb_magic, struct multiboot_info *mb_info)
{
	
//	if (mb_magic != 0x2BADB002)
//		halt(); 
	
	
	clear();
//	move_cursor(1, 1);
	kprintf("voidriddle version %i.%i.%i%s %s %s\n", KERNEL_VERSION,
			KERNEL_MAJOR, KERNEL_MINOR, KERNEL_ID,
			__DATE__, __TIME__);
	return 0;
}
